package com.dscs.service.impl;

import com.dscs.mapper.BuildingMapper;
import com.dscs.model.Building;
import com.dscs.service.BuildService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 叶雪娟
 * @date 2019/7/18
 **/
@SuppressWarnings("ALL")
@Service
public class BuildServiceImpl implements BuildService {
    @Autowired
    private BuildingMapper buildingMapper;
    @Override
    public List<Building> queryAllBuild() {
        return buildingMapper.queryAllBuilding();
    }
}
